﻿/***********************************************************************
 * <copyright file="PermissionInSiteResponse.cs" company="B/S JSC">
 * -->    Copyright (C) statement. All right reserved
 * </copyright>
 * 
 * Created:   Hoang Bich Son 
 * Email:    sonhb@newman.vn
 * Website:
 * Create Date: Saturday, March 29, 2014
 * Usage: 
 * 
 * RevisionHistory: 
 * Date         Author               Description 
 * 
 * ************************************************************************/

using System.Collections.Generic;
using SecurityService.DataTransferObjects;
using SecurityService.MessageBase;

namespace SecurityService.Messages
{
    /// <summary>
    /// PermissionInSiteResponse
    /// </summary>
    public class PermissionInSiteResponse: ResponseBase
    {
        /// <summary>
        /// Constructor
        /// </summary>
        public PermissionInSiteResponse() { }

        /// <summary>
        /// Initializes a new instance of the <see cref="PermissionInSiteResponse"/> class.
        /// </summary>
        /// <param name="correlationId">The correlation identifier for request and response.</param>
        public PermissionInSiteResponse(string correlationId) : base(correlationId) { }

        /// <summary>
        /// The permission in sites
        /// </summary>
        public IList<PermissionInSiteDto> PermissionInSites;

        /// <summary>
        /// The permission in site
        /// </summary>
        public PermissionInSiteDto PermissionInSite;

        /// <summary>
        /// The per identifier
        /// </summary>
        public int PerId;
    }
}
